package com.lh.ssm.mapper;

import com.lh.ssm.domain.Order;
import com.lh.ssm.domain.OrderItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    List<Order> selectOrdersByUid(int uid);

    void insertOrder(Order order);

    void insertItems(OrderItem item);

    Order findOrderById(String oid);

    List<OrderItem> findOrderItemsById(String oid);

    void updateOrderById(String oid);
}
